﻿using SilverlightCairngorm;
using SilverlightCairngorm.Model;
using CarrouselPanel;
namespace Carrousel.Model
{
    public class CarrouselModel : ModelLocator
    {
        private static readonly CarrouselModel _instance = new CarrouselModel();

        public static CarrouselModel Instance { get { return _instance; } }

        static CarrouselModel()
        {

        }
        private CarrouselModel()
            : base()
        {

        }

        private double _circleHeight = 10.00;
        public double circleHeight
        {
            get { return _circleHeight; }
            set
            {
                _circleHeight = value;
                NotifyPropertyChanged("circleHeight");
            }
        }

        private double _circleWidth = 200.00;
        public double circleWidth
        {
            get { return _circleWidth; }
            set
            {
                _circleWidth = value;
                NotifyPropertyChanged("circleWidth");
            }
        }

        private bool _autoPlay = true;
        public bool autoPlay
        {
            get { return _autoPlay; }
            set
            {
                _autoPlay = value;
                NotifyPropertyChanged("autoPlay");
            }
        }

        private Distance _distance = Distance.Left;
        public Distance distance
        {
            get { return _distance; }
            set
            {
                _distance = value;
                NotifyPropertyChanged("distance");
            }
        }
    }
}
